package com.fz.dao;

import com.fz.entity.Book;
import com.fz.mapper.BookMapper;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by webrx on 2017-09-11.
 */
@Data @Service
public class BookDAO implements BookMapper {
    @Autowired
    private BookMapper dao;
    public Book queryById(int id) {
        return dao.queryById(id);
    }
}
